/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.cakerun.model.req;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 美团账号创建或修改参数
 *
 * @author tangyu
 * @since 2025/07/02 23:41
 */
@Data
@Schema(description = "美团账号创建或修改参数")
public class BrandAccountReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 品牌
     */
    @Schema(description = "品牌")
    private String brand;

    /**
     * 地区
     */
    @Schema(description = "地区")
    private String area;

    /**
     * 账号
     */
    @Schema(description = "账号")
    private String account;

    /**
     * 密码
     */
    @Schema(description = "密码")
    private String password;

    /**
     * 是否初始化
     */
    @Schema(description = "是否初始化")
    private Boolean init;

    /**
     * token
     */
    @Schema(description = "token")
    private String bsid;

    /**
     * 最后同步时间
     */
    @Schema(description = "门店同步时间")
    private LocalDate orderShopTime;
    @Schema(description = "项目同步时间")
    private LocalDate orderProjectTime;
    @Schema(description = "评价同步时间")
    private LocalDate feedbackInfoTime;
    private LocalDate storeMetricsTime;
    private LocalDate orderDetailTime;
    /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    private LocalDateTime updateTime;

    /**
     * 启用
     */
    @Schema(description = "启用")
    private Boolean enable;

    /**
     * 删除标识
     */
    @Schema(description = "删除标识")
    private Boolean delFlag;

    private Long deptId;

    private Long userId;
    private String deptName;

    private String nickname;
}